import request from '@/utils/request'

// 查询查询命令分组字段列表
export function listBiSqlGroupField(query) {
  return request({
    url: '/conf/BiSqlGroupField/list',
    method: 'get',
    params: query
  })
}

// 查询查询命令分组字段详细
export function getBiSqlGroupField(id) {
  return request({
    url: '/conf/BiSqlGroupField/' + id,
    method: 'get'
  })
}

// 新增查询命令分组字段
export function addBiSqlGroupField(data) {
  return request({
    url: '/conf/BiSqlGroupField',
    method: 'post',
    data: data
  })
}

// 修改查询命令分组字段
export function updateBiSqlGroupField(data) {
  return request({
    url: '/conf/BiSqlGroupField',
    method: 'put',
    data: data
  })
}

// 删除查询命令分组字段
export function delBiSqlGroupField(id) {
  return request({
    url: '/conf/BiSqlGroupField/' + id,
    method: 'delete'
  })
}
